package com.github.yoojia.flow.at;

import com.github.yoojia.flow.support.VirtualScheduleDevice;

/**
 * @author 陈小锅 (yoojiachen@gmail.com)
 * @since 1.0.0
 */
public class TestAtScheduleDevice extends VirtualScheduleDevice {

    @Override
    protected void onScheduleTask() {
        getContext().publishEvent(
                createEvent(
                        "AT+VER".getBytes(),
                        ATEvents.AT_SYS_TOPIC,
                        getAddress(),
                        ATEvents.AT_SYS_ADDRESS));
    }
}
